package com.jl.jlapp.utils;

import android.content.Context;
import android.support.v7.widget.GridLayoutManager;
import android.util.AttributeSet;

public class CustomGridLayoutManager
  extends GridLayoutManager
{
  private boolean isScrollEnabled = true;
  
  public CustomGridLayoutManager(Context paramContext, int paramInt, boolean paramBoolean)
  {
    super(paramContext, paramInt);
    this.isScrollEnabled = paramBoolean;
  }
  
  public CustomGridLayoutManager(Context paramContext, AttributeSet paramAttributeSet, int paramInt1, int paramInt2)
  {
    super(paramContext, paramAttributeSet, paramInt1, paramInt2);
  }
  
  public boolean canScrollVertically()
  {
    return (this.isScrollEnabled) && (super.canScrollVertically());
  }
  
  public void setScrollEnabled(boolean paramBoolean)
  {
    this.isScrollEnabled = paramBoolean;
  }
}


/* Location:              /Users/davidzhang/Documents/decompileApk/jlfood-dex2jar.jar!/com/jl/jlapp/utils/CustomGridLayoutManager.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */